
from django.contrib import admin
from django.urls import path
from .views import welcome
from rest_framework.routers import SimpleRouter
from .views import BannerView,CollectionView,AreaView,StatisticsView,FaceView,VoiceView
router = SimpleRouter()
router.register('banner', BannerView,'banner')
router.register('collection', CollectionView,'collection')
router.register('area', AreaView,'area')
router.register('statistics', StatisticsView,'statistics')
router.register('face', FaceView,'face')

router.register('voice', VoiceView,'voice')



urlpatterns = [
    # path('admin/', admin.site.urls),
    path('welcome/', welcome),
]

urlpatterns += router.urls